﻿using System;

public class StudentInformationChangedEventArg: EventArgs
{
    private string nameOfProperty;
    private dynamic newValue;
    private dynamic oldValue;

    public StudentInformationChangedEventArg(string nameOfProperty, dynamic newValue, dynamic oldValue)
    {
        this.nameOfProperty = nameOfProperty;
        this.newValue = newValue;
        this.oldValue = oldValue;
    }

    public string NameOfProperty
    {
        get
        {
            return nameOfProperty;
        }
        set
        {
            nameOfProperty = value;
        }
    }

    public dynamic NewValue
    {
        get
        {
            return newValue;
        }
        set
        {
            newValue = value;
        }
    }

    public dynamic OldValue
    {
        get
        {
            return oldValue;
        }
        set
        {
            oldValue = value;
        }
    }
}
